package cn.ym.product.service;

import cn.ym.basic.util.AjaxResult;
import cn.ym.product.domain.Product;
import cn.ym.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ym
 * @since 2022-11-16
 */
public interface IProductService extends IBaseService<Product> {
    //上架
    AjaxResult onsale(Long[] ids, HttpServletRequest request);
    //下架
    void offsale(Long[] ids);
}
